/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.common.service.base.test;

import com.google.common.collect.Maps;
import info.peigen.hotpot.common.core.order.OrderBase;
import info.peigen.hotpot.component.data.repository.Entity;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * <b>(RepositoryTestContext)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/11/17
 */
@SuppressWarnings("rawtypes")
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class RepositoryTestContext implements Serializable {
    OrderBase order;
    Entity    entity;
    List      entities;
    @Builder.Default
    Map<String, Object> extend = Maps.newHashMap();
}